package pers.kw.storage.api;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import pers.kw.protocol.R;
import pers.kw.storage.dto.UpdateStorageReqDto;

import javax.validation.Valid;

public interface StorageApi {

    @ApiOperation(value = "更新库存")
    @PostMapping(value = "/storage/api/update/storage")
    R<String> updateStorage(@Valid @RequestBody UpdateStorageReqDto reqDto);
}
